Use CRPEJob::SetNthSortField to sort report data according to the specified field and direction.
BOOL SetNthSortField (
short sortFieldN,
const _TCHAR *field,
short direction );
Specifies the number of the sort field that you want to set. The first sort field added to the report is field 0, the second is 1, etc. If the report has N sort fields, the function can be called with this parameter between 0 and N | |
Specifies the sort direction. Use one of the PEP_SF_XXX Sort Order Constants. |
Use CRPEJob::SetNthTableLocation to set the table location information for the specified table in the report. This method is typically combined with CRPEJob::GetNthTableLocation, to identify the location of a table and CRPEJob::SetNthTableLocation to change it.
BOOL SetNthTableLocation (
short tableN,
const CRPETableLocation *tableLocation );
Specifies the 0 | |
Specifies a pointer to CRPETableLocation. |
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |